package cs3;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Dao {
    @Value("Tom")
    private String name;
    public void test(){
        System.out.println(name);
        System.out.println(this);
    }
}
